import { createWebHistory, createRouter } from 'vue-router';

import Index from "../page/index/index.vue"
import Login from "../page/login/index.vue"
import Control from "../page/control/index.vue"

const routes = [
    { path: '/', component: Index },
    { path: '/login', component: Login },
    { path: '/control', component: Control },
]
export const router = createRouter({
    history: createWebHistory(),
    routes,
})
